/**
 * Ingenius-Group S.A.S
 *
 * Project: SAU
 * File: ListFactorsEvent.java
 * Date: 07/02/2011
 */

package com.ingenius.sau.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.ingenius.sau.client.event.ListFactorsEvent.ListFactorsEventHandler;

/**
 * Class <strong>ListFactorsEvent</strong>
 * 
 * @author Jesus David
 * @version 0.1
 */
public class ListFactorsEvent extends GwtEvent<ListFactorsEventHandler> {

	public interface ListFactorsEventHandler extends EventHandler {

		void onListFactors(ListFactorsEvent event);
	}

	public static Type<ListFactorsEventHandler> TYPE = new Type<ListFactorsEventHandler>();

	@Override
	public Type<ListFactorsEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(ListFactorsEventHandler handler) {
		handler.onListFactors(this);
	}

}
